import { MockMethod } from "vite-plugin-mock";

export default [
  {
    url: "/api/v1/dept/options",
    method: "get",
    response: () => {
      return {
        code: "00000",
        data: [
          {
            value: 1,
            label: "朗道智通科技",
            children: [
              {
                value: 2,
                label: "软件部门",
              },
              {
                value: 3,
                label: "行政部门",
              },
              {
                value: 4,
                label: "硬件部门",
              },
              {
                value: 5,
                label: "平台部门",
              },
              {
                value: 6,
                label: "财务部门",
              },
            ],
          },
        ],
        msg: "一切ok",
      };
    },
  },
] as MockMethod[];
